<template>
    <div ref="testDiv">2345</div>
<input type="text" v-model="map">
</template>
<script setup>
import { defineModel,nextTick ,ref,onMounted} from 'vue';
const map = defineModel()
const testDiv = ref(null)
nextTick(()=>{
  console.log(testDiv.value,10)
})
console.log(testDiv.value,12)
onMounted(()=>{
    setTimeout(()=>{
        console.log(testDiv.value,14)
    },0)
  
})
</script>